# $Id: PKGBUILD 56552 2011-10-08 12:05:05Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-xml-rsslite
pkgver=0.15
pkgrel=2
pkgdesc="Perl/CPAN Module XML::RSSLite"
arch=(any)
depends=('perl')
url="http://search.cpan.org/dist/XML-RSSLite/"
license=("GPL" "PerlArtistic")
options=('!emptydirs')
source=("http://www.cpan.org/authors/id/J/JP/JPIERCE/XML-RSSLite-$pkgver.tgz")
md5sums=('965efb72d844e44ea551c640666551fd')

build() {
  cd $srcdir/XML-RSSLite-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
